package com.jianyushe.mysqltest.entity;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Alvin
 * @since 2022-05-08
 */
@ApiModel(value = "Sc对象", description = "")
public class Sc implements Serializable {

    private static final long serialVersionUID = 1L;
    @MppMultiId
    private String sno;
    @MppMultiId
    private String cno;

    private Float score;

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Sc{" +
                "sno=" + sno +
                ", cno=" + cno +
                ", score=" + score +
                "}";
    }
}
